@ECHO OFF

Set PROJECT_DIR=%1
SET TT=CodeGenExample\TemplateTest

REM --- this can be refactored into central .bat file
SET CODEGEN="C:\Program Files\Common Files\microsoft shared\TextTemplating\10.0\"TextTransform.exe
SET INFILE=%PROJECT_DIR%%TT%.tt
SET OUTFILE=%PROJECT_DIR%%TT%.g.cs
%CODEGEN% -out %OUTFILE% -a !!ExcelPath!%PROJECT_DIR%..\CodeGeneration\EntityModel.xlsx %INFILE%
REM --- 